package fms.web.action;

import fms.common.UserInfo;
import fms.services.ServiceException;
import fms.services.ServiceManager;
import fms.services.UserQueryService;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			UserQueryService service =(UserQueryService)ServiceManager.getDefaultManager().getService(UserQueryService.class);
			UserInfo user = new UserInfo();
			user=service.getUserInfoByID("yousufu");
			System.out.println(user.getUserName());
		} catch (ServiceException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
